home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2000 / MacHack 2000.toast / pc / The Hacks / 3D QuickTime Dynamics / kSan Headers / kSanAppFunctions.h < prev    next >
Encoding:
Text File  |  2000-06-24  |  1.7 KB  |  64 lines

  1. // kSanApplicationPublic.h  
  2. #ifndef __kSanAppFunctions__
  3. #define __kSanAppFunctions__
  4.  
  5. #include "kSanPlugIn.h"
  6. #include "kSanAtomtype.h"
  7.  
  8. #define  myFillPattern 0
  9. #define  groupPattern 0
  10. #define  myGrayPattern 1
  11. #define  myVertPattern 2
  12. #define  myHorizPattern 3
  13. #define  myLToRPattern 4
  14. #define  myRToLPattern 5
  15. #define  myBrickPattern 6
  16. #define  myBlockPattern 7
  17. #define  mySelectionPattern 8
  18.  
  19. #define kSystemPattern 0
  20. #define kGrayPattern 4
  21. #define kBlackPattern 1
  22.  
  23. #define  myWhiteColour 9
  24. #define  myGrayColour 8
  25. #define  myDefaultColour 0
  26. #define  mySelectionColour 8
  27. #define  myRedColour 1
  28. #define  myGreenColour 2
  29. #define  myBlueColour 3
  30. #define  myCyanColour 4
  31. #define  myMagentaColour 5
  32. #define  myYellowColour 6
  33. #define  myBlackColour 7
  34. #define  atomtypesColour 10
  35. #define  groupColour 20
  36. #define  highlightColour 30
  37. #define  gradedColour 35
  38.  
  39. short getAppResRefNum(void);
  40. short getIntlRezOffset( void );
  41. OHObject * getFrontSim (void);
  42. short myPickAColor(RGBColor *theColor, unsigned char * displayText) ;
  43.  
  44. void setColour( short  colourIndex );
  45. RGBColor getColour( short  colourIndex );
  46. Pattern getPattern (short patternIndex);
  47. void setPattern(short index);
  48. void setSelectionsMenuItems(short hasSelections);
  49. FSSpec *getAppSpec(void);
  50. short keyIsPressed(unsigned short k);
  51.  
  52. void setMenuItem(short whichMenu, short whichItem, Handle sHandle);
  53. void setMenuText (short whichMenu, short whichIndex, StringHandle mySH);
  54. void setMenuEnabled(short whichMenu, short whichItem, short enable);
  55. short  setMenuToSTR(short whichMenu, short whichItem, short StrRezId, Str255 defaultString);
  56. void appSetCursor(short theCursor);
  57.  
  58.  
  59. OHObject *appGetSimFromName (Str255 theName);
  60. OHObject *appGetWinFromName (Str255 theName);
  61.  
  62. UniversalProcPtr getDefaultAEHandler(void);
  63.  
  64. #endif